<?php

use yii\db\Migration;

class m170809_070652_alter_message extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%message}}', 'send_group', $this->string(50) . ' default null comment \'发送对象\'');

    }

    public function safeDown()
    {
        $this->dropColumn('{{%message}}', 'send_group');
    }
}
